﻿#pragma once
#include "uiInterface.h"

class ltcSendAndReceivePlugin : public QObject, public UiInterface
{
	Q_OBJECT
	Q_PLUGIN_METADATA(IID UiInterface_iid)
	Q_INTERFACES(UiInterface)
public:
	ltcSendAndReceivePlugin();

public:
	// return:menu
	// menu样例1: "pugin1"添加plugin1顶层插件菜单
	// menu样例2: "group/pugin1"再顶层分组group下增加pugin1插件菜单
	virtual QString createPluginMenu() override;
	// 创建插件菜单结果
	virtual void createPluginMenuResult(bool result, QString menuId, QString error) override;
	// 打开插件界面
	virtual QWidget* createPluginWidget() override;
	// 销毁插件界面
	virtual void destroyPluginWidget() override;

private:
};
